﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Treinamento2015_01Core.Models
{
    public class Product
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public bool IsActive { get; set; }

        public virtual Manufacturer Manufacturer { get; set; }

        [DataType(DataType.Currency)]
        public decimal Price { get; set; }

        public virtual ProductType ProductType { get; set; }

        public DateTime CreationDate { get; set; }

        public DateTime ModificationDate { get; set; }
    }
}
